package com.example.model.acl.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("acl_role_permission")
@ApiModel(value = "acl_role_permission对象",description = "acl角色权限表")
public class  Acl_role_permission implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private String id;

    @TableField(value = "cid")
    @ApiModelProperty(value = "权限ID")
    private String cid;

    @TableField(value = "rid")
    @ApiModelProperty(value = "角色ID")
    private String rid;
}
